import instance from '../utils/request'


/*获取用户列表*/
export function getUserList(current,size,userVO) {
  return instance({
    url: '/user/getUserList',
    method: 'POST',
    params:{
      current,
      size
    },
    data: userVO
  })
}

/**
 *
  添加用户
 */
export function add(addForm) {
  return instance({
    url: '/user/add',
    method: 'POST',
    data: addForm
  })
}


/**
 *获取审核人列表
 */
export function getAuditorList(id) {
  return instance({
    url: '/user/getAuditorList',
    method: 'GET',
    params:{
      id
    },
  })
}
